MultipartFormData

An upload data of the multipart/form-data content type.

Types

Link copied to clipboard
class Builder
A builder of MultipartFormData.
Link copied to clipboard
interface Pair
A key-value pair that represents a segment of a multi-part form data.

Functions

Link copied to clipboard
open fun bytes(): Array<Byte>
Returns an array containing the upload data bytes of the associated URL request.
Link copied to clipboard
Returns the content type of this upload data as specified in the Content-Type header.
Link copied to clipboard
Returns an immutable list of the key-value pairs each representing a segment of a multi-part form data or an empty list if the form does not contain any data.
Link copied to clipboard